home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / Class&Method Reference (stack) / MacApp 2.0 Reference / MacApp 2.0 Reference / card_336604.txt < prev    next >
Encoding:
Text File  |  1990-07-24  |  958 b   |  33 lines

  1. -- card: 336604 from stack: in.0 Reference
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 177597
  5. -- name: NewPermPtr
  6.  
  7.  
  8. -- part contents for background part 1
  9. ----- text -----
  10. NewPermPtr allocates and returns a pointer to a permanently allocated block of memory. 
  11. The logicalSize parameter specifies the newly allocated block‚Äôs logical size, in bytes.
  12. MacApp calls NewPermPtr from a variety of routines that allocate permanent blocks of memory. You should use this routine instead of the Toolbox routine NewPtr when you need to allocate permanent blocks of memory.
  13.  
  14. -- part contents for background part 5
  15. ----- text -----
  16. Unit: UMemory
  17.  
  18.  
  19. -- part contents for background part 23
  20. ----- text -----
  21. ROUTINE
  22.  
  23. -- part contents for background part 2
  24. ----- text -----
  25. NewPermPtr
  26.  
  27. -- part contents for background part 20
  28. ----- text -----
  29. FUNCTION NewPermPtr(logicalSize: Size): Ptr;
  30.  
  31. -- part contents for background part 40
  32. ----- text -----
  33. 328 of 498 Routines